package Tax;

public class Tax3 extends Tax{
    public Tax3(int a, int b, int c, int d, int e, int sum) {
        super(a, b, c, d, e, sum);
    }

    public double getTax() {
        return super.a*0.1 + (super.b-super.a)*0.15+(super.sum-super.b)*0.25;
    }
}
